<!DOCTYPE html>
<html>
<#include "../head.html">
    <body class="full">
    <div class="mc">
        <div>
            <div class="mc-l">
                <!--左侧导航---{-->
                <div id="navPanelContainer">
                    <div class="system-logo cd"></div>
                    <!--管理员信息---{-->
                    <#include "../adminInfo.html">
                        <!--管理员信息---}-->
                        <div class="nav-wrap">
                            <#include "left.html">
                        </div>
                </div>
                <!--左侧导航---}-->
            </div>
            <div class="mc-m">
                <div class="navToggle"></div>
            </div>
            <div class="mc-r">
                <!--顶部导航---{-->
                <#include "../topNav.html">
                    <!--顶部导航---}-->

                    <!--面包屑导航---{-->
                    <#assign moduleName="订单核对日志管理">
                        <#include "banner.html">
                            <!--面包屑导航---}-->

                            <!--工具栏--{-->
                            <div id="toolbar" class="clearfix">
                                
                                <div class="toolbor-module search">
                    					<input type="button" value="搜索"  class="input-button" onclick="sousuo();">
                				</div>
                				
                			
                                <div class="toolbor-module search">
                                <div class="formTit">订单号：</div>
                                    <input type="text" name="orderNo" id="orderNo" value="请输入订单号" class="search-value">
                                </div>
                              	
                              	<div class="toolbor-module search">
					                  <div class="formTit">状态：</div>
					                   <div class="select-box" id="isHandled">
					                        <div class="tag-select">全部</div>
					                        <ul class="tag-options">
					                           <li data-value="">全  部</li>
					                           <li data-value="0">未处理</li>
					                           <li data-value="1">已处理</li>
					                        </ul>
					                    </div>
					            </div>
                            </div>
                            <!--工具栏--}-->

                            <div id="main" class="clearfix">
                                <form action="" method="post">
                                    <table class="data-list">
                                        <tr class="header">
                                            <td>序号</td>
                                            <td>订单号</td>
                                            <td>发起时间</td>
                                            <td>响应时间</td>
                                            <td>我方状态</td>
                                            <td>对方状态</td>
                                            <td>添加时间</td>
                                            <td>处理人</td>
                                            <td>处理方案</td>
                                            <td>状态</td>
                                            <td>操作</td>
                                        </tr>
                                        <#if list?? && (list?size > 0)> 
                                        	<#list list as item>
                                            <tr class="s">
                                                <td>${item.id?c}</td>
	                                            <td>${item.orderNo!''}</td>
	                                            <td>${item.reqDate!''}</td>
	                                            <td>${item.resDate!''}</td>
	                                            <td>${item.localStatus!''}</td>
	                                            <td>${item.remoteStatus!''}</td>
	                                            <td>${item.addDate!''}</td>
	                                            <td>${item.handlePerson!''}</td>
	                                            <td><#if item.handleSolution??&&item.handleSolution?length gt 20>${item.handleSolution?substring(0,20)}****<#else>${item.handleSolution!''}</#if></td>
	                                             <td><#if item.isHandled==1><font style="color: green">已处理</font><#else><font style="color: red">未处理</font></#if></td>
	                                            <td>
	                                            <dd><a class="un" onclick='alertPop("连接记录","url:get?/admin/tradeOrder/orderInfo.html?reqType=orderCheck&id=${item.id?c}",800,400,"true","","true","text");' href="javascript:void(0)">查看连接记录</a></dd>
	                                            <#if item.isHandled == 0><dd><a class="un" onclick='alertPop("处理订单记录","url:get?/admin/tradeOrder/handleOrder.html?id=${item.id?c}",550,400,"true","","true","text");' href="javascript:void(0)" >处理</a></dd></#if>
	                                            </td>
                                            </tr>
                                       	 	</#list> 
                                        </#if>
                                    </table>
                                </form>

                                <!--底部工具栏--{-->
                                <div id="bottomToolbar" class="clearfix">
                                    <div class="other-tool">
                                        <dl class="refresh-data">
                                            <dt class="refresh-data-icon"></dt>
                                            <dd><a href="javascript:void(0);" class="refresh-page">刷新数据</a></dd>
                                        </dl>
                                    </div>

                                    <!--翻页系统--{-->
                                    <div class="container s_formPage">
                                        <#import "../../common/page.html" as pager>
                                            <@pager.pagination page=page url="${pageUrl}" map=param style="style1" />
                                    </div>
                                    <!--翻页系统--}-->
                                </div>
                                <!--底部工具栏--}-->

                                <script type="text/javascript">
                                    var url='orderCheckLog.html?search=true';
                                    function sousuo(){
                    					var sou = "";
                    				
                    					var orderNo = $("#orderNo").val();
                    					if (orderNo!=""&&orderNo!="请输入订单号"){
                    						sou += "&orderNo="+orderNo;
                    					}
                    					
                    					 var isHandled = $("#isHandled").find(".open-selected").attr("data-value");
                                         if(isHandled!=null&&isHandled!="undefine"){
                                         	sou += "&isHandled="+isHandled;
                                         }
                    				
                    					if (sou!=""){
                    							location.href=url+sou;
                    						}
                    					}
                              
                                </script>
                            </div>

            </div>
        </div>
        <div>
            <!--尾部--{-->
            <td colspan="3" class="mc-b"><#include "../foot.html"></td>
            <!--尾部--}-->
        </div>
    </div>

    </body>
</html>
<#include "../jsPage.html">
